package com.chen.wow.day01.autowired;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class CDPlayer{
	@Autowired
	private SgtPeppers sgtPeppers;
	
	public void show(){
		sgtPeppers.play();
	}
}
